package com.pmoc.framework.core.annos;

import com.pmoc.framework.core.enums.TypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * PmocType
 *
 * @author humdeef
 * @summary PmocType
 *
 * @since 2019-05-13 18:52
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface PmocType {

    /**
     * 指定数据保存到哪里，默认保存到redis
     *
     * @return
     */
    TypeEnum value() default TypeEnum.REDIS;
}
